<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
<meta http-equiv="X-UA-Compatible" content="IE=9"/>
<meta name="generator" content="Doxygen 1.8.14"/>
<meta name="viewport" content="width=device-width, initial-scale=1"/>
<title>libslic3r: Slic3r::IO::TMFEditor Class Reference</title>
<link href="tabs.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="jquery.js"></script>
<script type="text/javascript" src="dynsections.js"></script>
<link href="search/search.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="search/searchdata.js"></script>
<script type="text/javascript" src="search/search.js"></script>
<link href="doxygen.css" rel="stylesheet" type="text/css" />
</head>
<body>
<div id="top"><!-- do not remove this div, it is closed by doxygen! -->
<div id="titlearea">
<table cellspacing="0" cellpadding="0">
 <tbody>
 <tr style="height: 56px;">
  <td id="projectlogo"><img alt="Logo" src="Slic3r_192px_transparent.png"/></td>
  <td id="projectalign" style="padding-left: 0.5em;">
   <div id="projectname">libslic3r
   </div>
   <div id="projectbrief">Library for generating gcode from 3d models</div>
  </td>
 </tr>
 </tbody>
</table>
</div>
<!-- end header part -->
<!-- Generated by Doxygen 1.8.14 -->
<script type="text/javascript">
var searchBox = new SearchBox("searchBox", "search",false,'Search');
</script>
<script type="text/javascript" src="menudata.js"></script>
<script type="text/javascript" src="menu.js"></script>
<script type="text/javascript">
$(function() {
  initMenu('',true,false,'search.php','Search');
  $(document).ready(function() { init_search(); });
});
</script>
<div id="main-nav"></div>
<!-- window showing the filter options -->
<div id="MSearchSelectWindow"
     onmouseover="return searchBox.OnSearchSelectShow()"
     onmouseout="return searchBox.OnSearchSelectHide()"
     onkeydown="return searchBox.OnSearchSelectKey(event)">
</div>

<!-- iframe showing the search results (closed by default) -->
<div id="MSearchResultsWindow">
<iframe src="javascript:void(0)" frameborder="0" 
        name="MSearchResults" id="MSearchResults">
</iframe>
</div>

<div id="nav-path" class="navpath">
  <ul>
<li class="navelem"><a class="el" href="namespace_slic3r.html">Slic3r</a></li><li class="navelem"><a class="el" href="namespace_slic3r_1_1_i_o.html">IO</a></li><li class="navelem"><a class="el" href="class_slic3r_1_1_i_o_1_1_t_m_f_editor.html">TMFEditor</a></li>  </ul>
</div>
</div><!-- top -->
<div class="header">
  <div class="summary">
<a href="#pub-methods">Public Member Functions</a> &#124;
<a href="#pub-attribs">Public Attributes</a> &#124;
<a href="class_slic3r_1_1_i_o_1_1_t_m_f_editor-members.html">List of all members</a>  </div>
  <div class="headertitle">
<div class="title">Slic3r::IO::TMFEditor Class Reference</div>  </div>
</div><!--header-->
<div class="contents">

<p>3MF Editor class responsible for reading and writing 3mf files.  
 <a href="class_slic3r_1_1_i_o_1_1_t_m_f_editor.html#details">More...</a></p>

<p><code>#include &lt;<a class="el" href="_t_m_f_8hpp_source.html">TMF.hpp</a>&gt;</code></p>
<table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pub-methods"></a>
Public Member Functions</h2></td></tr>
<tr class="memitem:a723dfd2a660f1bab9f1c5097355ba0bc"><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_slic3r_1_1_i_o_1_1_t_m_f_editor.html#a723dfd2a660f1bab9f1c5097355ba0bc">TMFEditor</a> (std::string input_file, <a class="el" href="class_slic3r_1_1_model.html">Model</a> *_model)</td></tr>
<tr class="separator:a723dfd2a660f1bab9f1c5097355ba0bc"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a8689a38dac177f6aaaafcef4acc5094a"><td class="memItemLeft" align="right" valign="top">bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_slic3r_1_1_i_o_1_1_t_m_f_editor.html#a8689a38dac177f6aaaafcef4acc5094a">produce_TMF</a> ()</td></tr>
<tr class="memdesc:a8689a38dac177f6aaaafcef4acc5094a"><td class="mdescLeft">&#160;</td><td class="mdescRight">Write <a class="el" href="class_slic3r_1_1_i_o_1_1_t_m_f.html">TMF</a> function called by <a class="el" href="class_slic3r_1_1_i_o_1_1_t_m_f.html#af034300e641abca5720606d7d3aa670c">TMF::write()</a> function.  <a href="#a8689a38dac177f6aaaafcef4acc5094a">More...</a><br /></td></tr>
<tr class="separator:a8689a38dac177f6aaaafcef4acc5094a"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a58f8a21d9a5ef5d4f15f4bebc80adcd3"><td class="memItemLeft" align="right" valign="top">bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_slic3r_1_1_i_o_1_1_t_m_f_editor.html#a58f8a21d9a5ef5d4f15f4bebc80adcd3">consume_TMF</a> ()</td></tr>
<tr class="memdesc:a58f8a21d9a5ef5d4f15f4bebc80adcd3"><td class="mdescLeft">&#160;</td><td class="mdescRight">Read <a class="el" href="class_slic3r_1_1_i_o_1_1_t_m_f.html">TMF</a> function called by <a class="el" href="class_slic3r_1_1_i_o_1_1_t_m_f.html#a381856fcee9c07e8738cbfce98adab0c">TMF::read()</a> function.  <a href="#a58f8a21d9a5ef5d4f15f4bebc80adcd3">More...</a><br /></td></tr>
<tr class="separator:a58f8a21d9a5ef5d4f15f4bebc80adcd3"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ab23afed7ab0f1f60c3cf77268d6affdf"><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_slic3r_1_1_i_o_1_1_t_m_f_editor.html#ab23afed7ab0f1f60c3cf77268d6affdf">~TMFEditor</a> ()</td></tr>
<tr class="separator:ab23afed7ab0f1f60c3cf77268d6affdf"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pub-attribs"></a>
Public Attributes</h2></td></tr>
<tr class="memitem:a8c6712f32bf2e068730ea0caa4c43da3"><td class="memItemLeft" align="right" valign="top">const std::map&lt; std::string, std::string &gt;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_slic3r_1_1_i_o_1_1_t_m_f_editor.html#a8c6712f32bf2e068730ea0caa4c43da3">namespaces</a></td></tr>
<tr class="memdesc:a8c6712f32bf2e068730ea0caa4c43da3"><td class="mdescLeft">&#160;</td><td class="mdescRight">Namespaces in the 3MF document.  <a href="#a8c6712f32bf2e068730ea0caa4c43da3">More...</a><br /></td></tr>
<tr class="separator:a8c6712f32bf2e068730ea0caa4c43da3"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table>
<a name="details" id="details"></a><h2 class="groupheader">Detailed Description</h2>
<div class="textblock"><p>3MF Editor class responsible for reading and writing 3mf files. </p>
</div><h2 class="groupheader">Constructor &amp; Destructor Documentation</h2>
<a id="a723dfd2a660f1bab9f1c5097355ba0bc"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a723dfd2a660f1bab9f1c5097355ba0bc">&#9670;&nbsp;</a></span>TMFEditor()</h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">Slic3r::IO::TMFEditor::TMFEditor </td>
          <td>(</td>
          <td class="paramtype">std::string&#160;</td>
          <td class="paramname"><em>input_file</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="class_slic3r_1_1_model.html">Model</a> *&#160;</td>
          <td class="paramname"><em>_model</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">inline</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

</div>
</div>
<a id="ab23afed7ab0f1f60c3cf77268d6affdf"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ab23afed7ab0f1f60c3cf77268d6affdf">&#9670;&nbsp;</a></span>~TMFEditor()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">Slic3r::IO::TMFEditor::~TMFEditor </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">

</div>
</div>
<h2 class="groupheader">Member Function Documentation</h2>
<a id="a58f8a21d9a5ef5d4f15f4bebc80adcd3"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a58f8a21d9a5ef5d4f15f4bebc80adcd3">&#9670;&nbsp;</a></span>consume_TMF()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">bool Slic3r::IO::TMFEditor::consume_TMF </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Read <a class="el" href="class_slic3r_1_1_i_o_1_1_t_m_f.html">TMF</a> function called by <a class="el" href="class_slic3r_1_1_i_o_1_1_t_m_f.html#a381856fcee9c07e8738cbfce98adab0c">TMF::read()</a> function. </p>

</div>
</div>
<a id="a8689a38dac177f6aaaafcef4acc5094a"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a8689a38dac177f6aaaafcef4acc5094a">&#9670;&nbsp;</a></span>produce_TMF()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">bool Slic3r::IO::TMFEditor::produce_TMF </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Write <a class="el" href="class_slic3r_1_1_i_o_1_1_t_m_f.html">TMF</a> function called by <a class="el" href="class_slic3r_1_1_i_o_1_1_t_m_f.html#af034300e641abca5720606d7d3aa670c">TMF::write()</a> function. </p>

</div>
</div>
<h2 class="groupheader">Member Data Documentation</h2>
<a id="a8c6712f32bf2e068730ea0caa4c43da3"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a8c6712f32bf2e068730ea0caa4c43da3">&#9670;&nbsp;</a></span>namespaces</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">const std::map&lt;std::string, std::string&gt; Slic3r::IO::TMFEditor::namespaces</td>
        </tr>
      </table>
</div><div class="memdoc">
<b>Initial value:</b><div class="fragment"><div class="line">= {</div><div class="line">            {<span class="stringliteral">&quot;3mf&quot;</span>, <span class="stringliteral">&quot;http://schemas.microsoft.com/3dmanufacturing/core/2015/02&quot;</span>}, </div><div class="line">            {<span class="stringliteral">&quot;slic3r&quot;</span>, <span class="stringliteral">&quot;http://schemas.slic3r.org/3mf/2017/06&quot;</span>}, </div><div class="line">            {<span class="stringliteral">&quot;s&quot;</span>, <span class="stringliteral">&quot;http://schemas.microsoft.com/3dmanufacturing/slice/2015/07&quot;</span>}, </div><div class="line">            {<span class="stringliteral">&quot;content_types&quot;</span>, <span class="stringliteral">&quot;http://schemas.openxmlformats.org/package/2006/content-types&quot;</span>}, </div><div class="line">            {<span class="stringliteral">&quot;relationships&quot;</span>, <span class="stringliteral">&quot;http://schemas.openxmlformats.org/package/2006/relationships&quot;</span>} </div><div class="line">    }</div></div><!-- fragment -->
<p>Namespaces in the 3MF document. </p>

</div>
</div>
<hr/>The documentation for this class was generated from the following files:<ul>
<li>src/libslic3r/IO/<a class="el" href="_t_m_f_8hpp_source.html">TMF.hpp</a></li>
<li>src/libslic3r/IO/<a class="el" href="_t_m_f_8cpp.html">TMF.cpp</a></li>
</ul>
</div><!-- contents -->
<!-- start footer part -->
<hr class="footer"/><address class="footer"><small>
Generated by &#160;<a href="http://www.doxygen.org/index.html">
<img class="footer" src="doxygen.png" alt="doxygen"/>
</a> 1.8.14
</small></address>
</body>
</html>
